import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router';
import axios from './axios/index';
const app = createApp(App);
import * as ElementPlusIconsVue from '@element-plus/icons-vue';
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
  }
// 使用 provide 提供全局变量
app.provide('globalVar', axios);

app.use(ElementPlus);
app.use(router);
app.mount('#app');
